//
// Created by ascend on 2020/9/3.
//

#ifndef AIPAINTING_ATLAS200DK_V2_DATA_RECEIVER_PARAMS_H
#define AIPAINTING_ATLAS200DK_V2_DATA_RECEIVER_PARAMS_H

#include <iostream>

/**
 * @brief: custom data type: ScaleInfo
 */
struct ScaleInfoT {
    float scale_width = 1;
    float scale_height = 1;
};

template<class Archive>
void serialize(Archive& ar, ScaleInfoT& data) {
    ar(data.scale_width, data.scale_height);
}

/**
 * @brief: custom data type: ScaleInfo
 */
struct StyleType {
    std::string name;
    uint32_t type;
};

template<class Archive>
void serialize(Archive& ar, StyleType& data) {
    ar(data.name, data.type);
}


#endif //AIPAINTING_ATLAS200DK_V2_DATA_RECEIVER_PARAMS_H
